﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ModuleAdd.ascx.cs" Inherits="controls_admin_ModuleAdd" %>
<!-- forms -->
<div class="box">
    <!-- box / title -->
    <div class="title">
        <h5 runat="server" id="h5_title">
            Thêm Mới Modules
        </h5>
    </div>
    <div id="divMessage" runat="server">
    </div>
    <!-- end box / title -->
    <div class="form">
        <div class="fields">
            <div class="field field-first">
                <div class="label">
                    <label for="input-medium">
                        Tiêu Đề:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtTitle" runat="server" CssClass="medium required" MaxLength="50" />
                    <div runat="server" id="NOTE_TITLE" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Loại Module</label>
                </div>
                <div class="input">
                    <asp:DropDownList ID="ddlType" runat="server" CssClass="select" />
                    <div runat="server" id="NOTE_TYPE" class="note" />
                </div>
            </div>
            <%--            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Ảnh hiển thị</label>
                </div>
                <div class="input">
                    <asp:FileUpload runat="server" ID="fupImage" CssClass="file" />
                    <div runat="server" id="NOTE_IMAGE" class="note" />
                </div>
            </div>--%>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Danh mục nội dung</label>
                </div>
                <div class="input">
                    <asp:DropDownList ID="ddlCategories" runat="server" CssClass="select" />
                    <div runat="server" id="NOTE_MODULE_CONTENT" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Hiển thị tại</label>
                </div>
                <div class="input">
                    <asp:ListBox ID="lbxCategories" runat="server" SelectionMode="Multiple" Width="300px"
                        Height="250px" />
                    <div runat="server" id="NOTE_CATEGORY" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Vị trí module</label>
                </div>
                <div class="input">
                    <asp:DropDownList ID="ddlLocation" runat="server" CssClass="select">
                        <asp:ListItem Text="Slider" Value="1"></asp:ListItem>
                        <asp:ListItem Text="Giữa" Value="2"></asp:ListItem>
                        <asp:ListItem Text="Bên phải" Value="3"></asp:ListItem>
                        <asp:ListItem Text="Trái chi tiết" Value="4"></asp:ListItem>
                        <asp:ListItem Text="Phải chi tiết" Value="5"></asp:ListItem>
                    </asp:DropDownList>
                    <div runat="server" id="NOTE_LOCATION" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Số bản ghi trên 1 trang</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtPageSize" runat="server" Width="50px" CssClass="required number"
                        Text="6" MaxLength="5" />
                    <div runat="server" id="NOTE_PAGE_SIZE" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label label-radio">
                    <label>
                        Hiển thị trên trang chủ:</label>
                </div>
                <div class="input">
                    <asp:CheckBox runat="server" ID="cboDisplay" Checked="false" />
                    <div runat="server" id="NOTE_DISPLAY_HOME" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label label-radio">
                    <label>
                        Hiển thị trang chi tiết:</label>
                </div>
                <div class="input">
                    <asp:CheckBox runat="server" ID="cboDisDetails" Checked="true" />
                    <div runat="server" id="NOTE_DISPLAY_DETAILS" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Thứ tự hiển thị</label>
                </div>
                <div class="input">
                    <asp:TextBox Width="50px" ID="txtSDHome" runat="server" CssClass="required number"
                        Text="1" />
                    <div runat="server" id="NOTE_SORT" class="note" />
                </div>
            </div>
            <%--<div class="field">
                <div class="label">
                    <label for="input-medium">
                        Link xem tiếp</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtLink" runat="server" CssClass="large url" />
                    <div class="note">
                        Nhập link xem tiếp(tùy chọn) nếu là các module dịch vụ nổi bật, e-book nổi bật hoặc
                        e-conference nổi bật
                    </div>
                </div>
            </div>--%>
            <div class="buttons">
                <div class="highlight">
                    <asp:Button ID="btnModuleAction" runat="server" Text="Thêm Mới" OnClick="btnModuleAction_Click" />
                </div>
            </div>
        </div>
    </div>
</div>
<!-- end forms -->
